const express = require('express');
const router = express.Router();
const responseController = require('../controllers/responseController');

// 提交问卷回答
router.post('/submit', responseController.submitSurveyResponse);

// 获取问卷回答统计
router.get('/:id/results', responseController.getSurveyResults);

module.exports = router;